<template>
  <el-container>
    <el-header>
      <heade></heade>
    </el-header>
    <el-container>
      <el-aside :width="bool ? '64px' : '200px'">
        <div class="wmtil" @click="bool = !bool">
          <img src="../assets/imgs/0.png" alt="" /><span v-show="!bool"
            >超级管理系统</span
          >
        </div>
        <nave :coolre="bool" />
      </el-aside>
      <el-main><router-view /></el-main>
    </el-container>
  </el-container>
</template>

<script>
import nave from './components/navagtar.vue'
import heade from './components/heade'
export default {
  components: {
    nave,
    heade
  },
  data() {
    return {
      bool: false
    }
  }
}
</script>

<style lang="less" scoped>
.el-container {
  height: 100%;
}
.el-header,
.el-footer {
  background-color: #b3c0d1;
}

.el-aside {
  background-color: #545c64;
}

.el-main {
  background-color: #e9eef3;
}
.wmtil {
  display: flex;
  justify-content: center;
  align-items: center;
  img {
    width: 50px;
    height: 50px;
    border-radius: 25px;
  }
  span {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
  }
}
</style>
